package com.yzkj.cpjxc.business.domain;

import java.io.Serializable;

import org.apache.ibatis.type.Alias;

/**
 * 封装zTree树结构的属性
 */
@Alias("ZTreeComm")
public class ZTreeComm implements Serializable {

	private static final long serialVersionUID = -6339366272701114763L;

	/**
	 * 树节点Id
	 */
	private String id;

	/**
	 * 上级Id
	 */
	private String pId;

	/**
	 * 树节点名称
	 */
	private String name;

	/**
	 * 路径地址
	 */
	private String url;

	/**
	 * 是否打开
	 */
	private String open;

	/**
	 * 是否选中
	 */
	private String checked;

	/**
	 * 是否为父节点
	 */
	private String isParent;

	/**
	 * 访问url地址，打开内容的标签
	 */
	private String target;

	/**
	 * 用户id
	 */
	private String userId;

	/**
	 * 排序号
	 */
	private String sortNo;

	/**
	 * 自定义属性(可以随便命名)
	 */
	private String diyParams;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getpId() {
		return pId;
	}

	public void setpId(String pId) {
		this.pId = pId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getOpen() {
		return open;
	}

	public void setOpen(String open) {
		this.open = open;
	}

	public String getChecked() {
		return checked;
	}

	public void setChecked(String checked) {
		this.checked = checked;
	}

	public String getIsParent() {
		return isParent;
	}

	public void setIsParent(String isParent) {
		this.isParent = isParent;
	}

	public String getTarget() {
		return target;
	}

	public void setTarget(String target) {
		this.target = target;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getDiyParams() {
		return diyParams;
	}

	public void setDiyParams(String diyParams) {
		this.diyParams = diyParams;
	}

	public String getSortNo() {
		return sortNo;
	}

	public void setSortNo(String sortNo) {
		this.sortNo = sortNo;
	}

	@Override
	public String toString() {
		return "ZTreeComm [id=" + id + ", pId=" + pId + ", name=" + name + ", url=" + url + ", open=" + open + ", checked=" + checked + ", isParent=" + isParent + ", target="
				+ target + ", userId=" + userId + ", sortNo=" + sortNo + ", diyParams=" + diyParams + "]";
	}
}
